Make gtk_window_set_titlebar work on realized windows
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Feb 2014 03:38:06 +0000 (22:38 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Feb 2014 03:38:06 +0000 (22:38 -0500)
commit0c483e1423d4a0b5f6321e36c2c402c55566df59
tree826b4bccbc5e3e58bd948cd52f3de4937b0dbb37
parent365902cd58dca6b8dc5e4a92d2b59a269137fcb3
Make gtk_window_set_titlebar work on realized windows

Since realize does a lot of the heavy lifting of setting up
csd, we have to re-realize the window if we go from no-custom
titlebar to a custom titlebar or vice versa.

https://bugzilla.gnome.org/show_bug.cgi?id=722919
gtk/gtkwindow.c